﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="GuiTinNhan.aspx.vb" Inherits="FrontEnd_Page_GuiTinNhan" %>

<%@ Register Src="../../Control/Messagebox/msbox.ascx" TagName="msbox" TagPrefix="uc1" %>
<%@ Register Src="../Control/Users/GuiTinNhan.ascx" TagName="GuiTinNhan" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Gửi tin nhắn</title>
    <link href="../styles/modal-window.css" rel="stylesheet" type="text/css" />
    <link href="../styles/jquery-ui-1.8.1.custom.css" rel="stylesheet" type="text/css" />
    <link href="../styles/thickbox.css" rel="stylesheet" type="text/css" />
    <link href="../styles/ValidationTextBox.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src='<%=ResolveUrl("~/FrontEnd/js/jquery.js")%>'></script>
    <script language="javascript" type="text/javascript" src='<%=ResolveUrl("~/FrontEnd/js/jquery-ui-1.8.18.custom.min.js")%>'></script>

    <script language="javascript" type="text/javascript" src='<%=ResolveUrl("~/FrontEnd/js/ValidationTextBox.js")%>'></script>
    <script type="text/javascript">
        $(function () {
            //Howver texbox o day..div_txt{position:relative; float:left; display:table}
            $(".div_tolltip").each(function () {
                $(this).parent().find(".TextBox").hover(
                                 function () {
                                     $(this).parent().find(".div_tolltip").attr("style", "display:inline");
                                 },
                                  function () {
                                      $(this).parent().find(".div_tolltip").attr("style", "display:none");
                                  }
                            );
                //Neu dang focus thi hien thi.
                $(".TextBox").focus(function () {
                    $(this).parent().find(".div_tolltip").attr("style", "display:inline");

                });

                //Dropdownlist
                $(this).parent().find(".Dropdownlist").hover(
                                 function () {
                                     $(this).parent().find(".div_tolltip").attr("style", "display:inline");
                                 },
                                  function () {
                                      $(this).parent().find(".div_tolltip").attr("style", "display:none");
                                  }
                            );
                //Neu dang focus thi hien thi.
                $(".Dropdownlist").focus(function () {
                    $(this).parent().find(".div_tolltip").attr("style", "display:inline");

                });
            });
        });
   </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <uc1:msbox ID="msbox1" runat="server" />
    <uc2:GuiTinNhan ID="GuiTinNhan1" runat="server" />
    </form>
</body>
</html>
